<?php if (!defined('SHUIPF_VERSION')) exit(); ?>
<Admintemplate file="Common/Head"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <Admintemplate file="Common/Nav"/>
  <div class="h_a">搜索</div>
  <div class="search_type  mb10">
    <form action="{$config_siteurl}index.php" method="get">
      <input type="hidden" value="Job" name="g">
      <input type="hidden" value="Job" name="m">
      <input type="hidden" value="index" name="a">
      <div class="mb10">
        <div class="mb10"> <span class="mr20"> 职位：
          <input type="text" class="input length_2" name="keyword" style="width:200px;" value="{$keyword}" placeholder="请输入关键字...">
          <button class="btn">搜索</button>
          </span> </div>
      </div>
    </form> 
	职位总数：<font color="green">{$count}</font> 个&nbsp;在线职位：<font color="green">{$online}</font> 个&nbsp;简历总数：<font color="green">{$candidates}</font> 份
  </div>
    <form name="myform"  class="J_ajaxForm" action="{:U('Job/index')}" method="post" >
    <div class="table_list">
      <table width="100%">
        <colgroup>
        <col width="35">
        <col width="45">
        <col>
        <col width="6%">
        <col width="10%">
        <col width="6%">
        <col width="15%">
        <col width="15%">
        <col width="8%">
        <col width="12%">
        </colgroup>
        <thead>
          <tr>
            <td align="center"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></td>
            <td align="center">排序</td>
            <td>职位名称</td>
            <td align="center">招聘人数</td>
            <td align="center">工作地区</td>
            <td align="center">应聘管理</td>
            <td align="center">发表时间</td>
            <td align="center">截止日期</td>
            <td align="center">状态</td>
            <td align="center">管理操作</td>
          </tr>
        </thead>
        <volist name="data" id="vo">
          <tr>
            <td align="center"><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="jobid[]" value="{$vo.jobid}"></td>
            <td align="center"><input name='listorder[]' class="input mr5"  type='text' size='3' value='{$vo.listorder}'></td>
            <td><a href="{:U('Index/info',array('jobid'=>$vo['jobid']))}" target="_blank">{$vo.zhiwei}</a></td>
            <td align="center">{$vo.renshu}</td>
            <td align="center">{$vo.diqu}</td>
            <td align="center"><a href="{:U('Job/candidates',array('jobid'=>$vo['jobid']))}">{$vo.yingpin} 份</a></td>
            <td align="center">{$vo.inputtime|date="Y-m-d H:i:s",###}</td>
            <td align="center">{$vo.enddate|date="Y-m-d H:i:s",###}</td>
            <td align="center"><if condition=" $vo['status'] "><font color=green>已审核</font><else /><font color=red>未审核</font></if></td>
            <td align="center"><a href="{:U('Job/edit',array('jobid'=>$vo['jobid']))}">修改</a> | <a href="{:U('Job/delete',array('jobid'=>$vo['jobid']))}" class="J_ajax_del" >删除</a></td>
          </tr>
        </volist>
      </table>
      <div class="p10">
        <div class="pages"> {$Page} </div>
      </div>
    </div>
    <div class="btn_wrap">
      <div class="btn_wrap_pd">
      	<label class="mr20"><input type="checkbox" class="J_check_all" data-direction="y" data-checklist="J_check_y">全选</label>
        <button class="btn mr10 J_ajax_submit_btn" type="submit" data-action="{:U('Job/delete')}">删除</button>
        <button class="btn J_ajax_submit_btn" type="submit">排序</button>

      </div>
    </div>
</div>
<script src="{$config_siteurl}statics/js/common.js?v"></script>
</body>
</html>